package com.badger.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.badger.model.City;

@org.apache.ibatis.annotations.Mapper
public interface CityMapper {

    @Select("SELECT * FROM t_city WHERE parent_id = #{parentId}")
    List<City> selectByParentId(@Param("parentId") String parentId);

}